package com.example.backend.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xwyzsn
 * @since 2023-03-07
 */

@Data
public class Project implements Serializable {


    private static final long serialVersionUID = 1L;

    /**
     * project id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * project name
     */
    private String name;

    /**
     * project started time
     */
    private Date createdTime;

    /**
     * project end time
     */
    private Date endTime;

    /**
     * project status
     */
    private String status;

    /**
     * project id
     */
    private Integer projectNum;

    private String code;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Date getCreated_time() {
        return createdTime;
    }

    public void setCreated_time(Date createdTime) {
        this.createdTime = createdTime;
    }
    public Date getEnd_time() {
        return endTime;
    }

    public void setEnd_time(Date endTime) {
        this.endTime = endTime;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public Integer getProject_num() {
        return projectNum;
    }

    public void setProject_num(Integer projectNum) {
        this.projectNum = projectNum;
    }

    @Override
    public String toString() {
        return "Project{" +
            "id=" + id +
            ", name=" + name +
            ", createdTime=" + createdTime +
            ", endTime=" + endTime +
            ", status=" + status +
            ", projectNum=" + projectNum +
        "}";
    }
}
